Skip to content

Upgrade Node.js pipeline to UseNode v1 and Node 22 - #3761

Open
Ramses Sanchez-Hernandez (ramsessanchez) wants to merge 6 commits into
mainfrom
ramsessanchez-upgrade-use-node-v1
Open

Upgrade Node.js pipeline to UseNode v1 and Node 22#3761
Ramses Sanchez-Hernandez (ramsessanchez) wants to merge 6 commits into
mainfrom
ramsessanchez-upgrade-use-node-v1

Conversation

@ramsessanchez

@ramsessanchez Ramses Sanchez-Hernandez (ramsessanchez) commented Aug 31, 2026

Copy link
Copy Markdown
Contributor

Overview

  • replace the deprecated NodeTool@0 task with UseNode@1 in the shared build pipeline template
  • update versionSpec to the supported version input
  • upgrade the pipeline runtime from Node.js 18.x to Node.js 22.x
  • serialize module generation to mitigate Windows EMFILE: too many open files failures under Node.js 22
  • pin @microsoft/rush to the AutoRest PowerShell submodule's 5.170.1 version so private-feed installs do not resolve incompatible latest dependencies

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

Copilot-Session: ca451ec9-9bde-464d-9df8-5c1e8088ab7d
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

Copilot-Session: ca451ec9-9bde-464d-9df8-5c1e8088ab7d
@ramsessanchez Ramses Sanchez-Hernandez (ramsessanchez) changed the title Upgrade Node.js installer task to UseNode v1 Upgrade Node.js pipeline to UseNode v1 and Node 22 Aug 31, 2026
Node.js 22 causes AutoRest module generation to exhaust open file handles on Windows.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

Copilot-Session: ca451ec9-9bde-464d-9df8-5c1e8088ab7d
@ramsessanchez Ramses Sanchez-Hernandez (ramsessanchez) changed the title Upgrade Node.js pipeline to UseNode v1 and Node 22 Upgrade Node.js installer task to UseNode v1 Sep 1, 2026
Use Node.js 22 while limiting concurrent module generation to reduce Windows file handle pressure.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

Copilot-Session: ca451ec9-9bde-464d-9df8-5c1e8088ab7d
@ramsessanchez Ramses Sanchez-Hernandez (ramsessanchez) changed the title Upgrade Node.js installer task to UseNode v1 Upgrade Node.js pipeline to UseNode v1 and Node 22 Sep 1, 2026
Pin Rush to the submodule version and prevent Node.js 22 from exhausting Windows file handles during concurrent generation.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

Copilot-Session: ca451ec9-9bde-464d-9df8-5c1e8088ab7d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant